﻿@model IEnumerable<GraduateManagement.Models.academy>
@{
    ViewBag.Title = "学院列表";
    Layout = "~/Views/Shared/_Layout.cshtml";
}

<h2 style="font-family: 微软雅黑;">学院列表</h2>

<table class="table">
    <tr>
        <th>
            @Html.DisplayNameFor(model => model.ID)
        </th>
        <th>
            @Html.DisplayNameFor(model => model.name)
        </th>
        <th></th>
    </tr>

    @foreach (var item in Model)
    {
        <tr>
            <td>
                @Html.DisplayFor(modelItem => item.ID)  
            </td>
            <td>
                @Html.ActionLink(item.name, "Detail", new { id = item.ID })
            </td>
        </tr>
    }
</table>